package com.stupro.cjlu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Administrator
 * @since 2021-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("course")
@ApiModel(value="Course对象", description="")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程号")
    @TableId(value = "coID", type = IdType.AUTO)
    private Integer coID;

    @ApiModelProperty(value = "课程名")
    @TableField("coName")
    private String coName;

    @ApiModelProperty(value = "教师号")
    @TableField("teaID")
    private Integer teaID;

    @ApiModelProperty(value = "先修课课程名")
    @TableField("coEName")
    private String coEName;

    @ApiModelProperty(value = "房间号")
    @TableField("roID")
    private Integer roID;

    @ApiModelProperty(value = "课程时间")
    @TableField("coTime")
    private Integer coTime;


}
